/*
 Navicat Premium Data Transfer

 Source Server         : zyt-aliyun-47.104.129.155
 Source Server Type    : MySQL
 Source Server Version : 50644
 Source Host           : 47.104.129.155:3306
 Source Schema         : xinghuo

 Target Server Type    : MySQL
 Target Server Version : 50644
 File Encoding         : 65001

 Date: 23/10/2019 15:03:47
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for xh_order
-- ----------------------------
DROP TABLE IF EXISTS `xh_order`;
CREATE TABLE `xh_order` (
  `id` varchar(32) COLLATE utf8mb4_bin NOT NULL COMMENT '订单id',
  `order_no` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '订单编号',
  `product_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '商品名称',
  `product_price` decimal(10,2) DEFAULT NULL COMMENT '商品价格',
  `product_num` int(11) DEFAULT NULL COMMENT '商品个数',
  `user_id` varchar(32) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of xh_order
-- ----------------------------
BEGIN;
INSERT INTO `xh_order` VALUES ('505db2b5cf9347be8f26e0cf3c114915', '20191022053351352924', '产品名称0', 12.45, 4, '690f1a8d386c49e990690b9b61fd21cf');
INSERT INTO `xh_order` VALUES ('ae7e95d3a41449d99949172d92341ff0', '20191022053351849122', '产品名称1', 12.45, 4, '690f1a8d386c49e990690b9b61fd21cf');
INSERT INTO `xh_order` VALUES ('weqrewqrewwe', '23421432', '手机', 100.40, 2, '58835e77168c4259bc4e56f20b3193df');
INSERT INTO `xh_order` VALUES ('werty443rere', '345675', '电脑', 1234.89, 1, '58835e77168c4259bc4e56f20b3193df');
COMMIT;

-- ----------------------------
-- Table structure for xh_user
-- ----------------------------
DROP TABLE IF EXISTS `xh_user`;
CREATE TABLE `xh_user` (
  `id` varchar(32) COLLATE utf8mb4_bin NOT NULL COMMENT '用户id',
  `login_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '登录名',
  `pwd` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '密码',
  `user_name` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL COMMENT '真实姓名',
  `age` int(3) DEFAULT NULL COMMENT '年龄',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

-- ----------------------------
-- Records of xh_user
-- ----------------------------
BEGIN;
INSERT INTO `xh_user` VALUES ('5cadd2de173449b2a7d60d5d48eb1d23', 'SXF222', '342', '张要廷555', 26);
INSERT INTO `xh_user` VALUES ('690f1a8d386c49e990690b9b61fd21cf', 'SXF5008', '1111', '张要廷2', NULL);
INSERT INTO `xh_user` VALUES ('7e760948821646f390d62eaee21a855b', 'SXF5008', '1111', '张要廷1', 24);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
